package model

import "time"

type HisDept struct {
	ID                 uint      `gorm:"primaryKey"`
	DeptCode           string    `gorm:"size:50"`
	DeptName           string    `gorm:"size:100"`
	IsOutpatient       string    `gorm:"size:1"`
	IsInDept           string    `gorm:"size:1"`
	IsMedical          string    `gorm:"size:1"`
	CooperatiCode      string    `gorm:"size:255"`
	HealteCode         string    `gorm:"size:255"`
	SecondLevel        string    `gorm:"size:1"`
	Traditional        string    `gorm:"size:1"`
	Emergency          string    `gorm:"size:1"`
	SpecialDepartment  string    `gorm:"size:1"`
	DepartmentPosition string    `gorm:"size:255"`
	Responsible        string    `gorm:"size:255"`
	ResponsiblePhone   string    `gorm:"size:255"`
	BuildDate          time.Time
	NumberBeds         int
	NumberMedical      int
	NumberDoctors      int
	NumberPharmacist   int
	NumberNurse       int
	NumberCollege      int
	HospitalCode       string    `gorm:"size:50"`
	Category           string    `gorm:"size:255"`
	CreateTime         time.Time
	CreateUser         uint
	UpdateTime         time.Time
	UpdateUser         uint
}